<ion-view id="home"  cache-view="false" view-title="功能菜单" align-title="center" show-tabs>
  <!-- 功能模块-页眉 -->
  <ion-nav-buttons side="right" style="font-size: 30px">
    <button class ="button "  style ="color:#ffffff;font-size: 16px;background-color: #CD0A1B;border: none;" ng-click ="scanBarcode()">
      扫一扫&nbsp;&nbsp;
      <i class ="ion-qr-scanner" style="font-size: 20px"> </i>
    </button>

  </ion-nav-buttons>
  <ion-content class="has-header scroll-content">
    <!--功能导航-->

    <nav id="nav" ng-click="fanhui($event)">
      <a href="{{ accountbalance }}"  ng-if ="accountbalanceif">
        <img ng-src="img/home/home-01.png"  alt="">
        <h2>查余额</h2>
      </a>
      <a href="{{ detailaccountChoose }}" ng-if ="detailaccountChooseif">
        <img ng-src="img/home/home-02.png" alt="">
        <h2>查明细 </h2>
      </a>
      <a href="{{ statequery }}" ng-if ="statequeryif">
        <img ng-src="img/home/home-03.png" alt="">
        <h2>查状态</h2>
      </a>
      <a href="{{ sumrequest }}" ng-if ="sumrequestif">
        <img ng-src="img/home/home-04.png" alt="">
        <h2>请款</h2>
      </a>
      <a href="{{ pay }}" ng-if ="payif">
        <img ng-src="img/home/home-05.png" alt="">
        <h2>支付</h2>
      </a>
      <a href="{{ approve }}" ng-if ="approveif">
        <img ng-src="img/home/home-06.png" alt="">
        <h2>审批</h2>
      </a>
      <a on-tap ="open()">
        <img ng-src="img/home/home-07.png" alt="">
        <h2>差旅</h2>
      </a>
      <a href="{{ goods }}" ng-if ="goodsif">
        <img ng-src="img/home/home-08.png" alt="">
        <h2>商品</h2>
      </a>
      <a href="{{ myorder }}" ng-if ="myorderif">
        <img ng-src="img/home/home-09.png" alt="">
        <h2>我的订单</h2>
      </a>
      <a href="{{ smartgain }}" ng-if ="smartgainif">
        <img ng-src="img/home/home-10.png" alt="">
        <h2>智能赚</h2>
      </a>
      <a href = "{{ capitalflow }}"   ng-if ="capitalflowif">
        <img ng-src="img/home/home-11.png" alt="">
        <h2>资金流</h2>
      </a>
    </nav>

  </ion-content>

</ion-view>
